﻿using Microsoft.SharePoint;

namespace Eneta.Portal.Forum.Core.Service.Builders
{
    public class UserListBuilder : ListBuilder
    {
        // Methods
        public UserListBuilder()
        {
            listName = "spforums_users";
        }

        public override void AddFields()
        {
            base.AddFieldToList("UserID", (SPFieldType)9, false);
            base.AddFieldToList("NumPosts", (SPFieldType)9, false);
            base.AddFieldToList("LastVisit", (SPFieldType)4, false);
            base.AddFieldToList("IsAdmin", (SPFieldType)8, false);
            base.AddFieldToList("Groups", (SPFieldType)2, false);
        }

        public override void AddSampleData()
        {
        }
    }
}
